package com.newer.service.sys.iter;

import java.util.List;
import java.util.Map;

import com.newer.pojo.sys.Organization;
import com.newer.pojo.sys.Pickstandard;
import com.newer.pojo.sys.PickstandardExample;
import com.newer.utils.sys.BootstrapDataTable;
import com.newer.utils.sys.Conditions;

public interface PickstandardService {
	List<Pickstandard> selectByExample(PickstandardExample example);

	BootstrapDataTable selectPickstandardByExample(BootstrapDataTable dataTable,Conditions conditions);
	
	//批量删除
	int deletePickstandardByIds(String Ids);
	
	//根据id删除 修改状态为1
	int delete(Integer id);
	
	//添加一个收派标准
	int addPickstandard(Pickstandard pickstandard);
	
	//检查收派标准是否存在 
	Map<String,Boolean>selectPickstandardByStandardName(String standardName);
	 
	//修改收派标准信息 
	int updatePickstandardByPrimarykey( Pickstandard pickstandard);
	
	//根据id查询部门
	Pickstandard selectPickstandardById(Integer id);
}
